﻿using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace YunxSoft.Abp.LanguageManagement;

public interface ILanguageAppService : IApplicationService
{
    Task<ListResultDto<LanguageDto>> GetAllListAsync();
    Task<PagedResultDto<LanguageDto>> GetListAsync(GetLanguagesInput input);

    Task<LanguageDto> UpdateAsync(Guid id, UpdateLanguageDto input);

    Task<LanguageDto> CreateAsync(CreateLanguageDto input);

    Task<LanguageDto> GetAsync(Guid id);

    Task DeleteAsync(Guid id);

    Task SetAsDefaultAsync(Guid id);

    Task<List<LanguageResourceDto>> GetResourcesAsync();

    Task<List<CultureInfoDto>> GetCultureListAsync();
}